@media screen and (min-width: 750px){
  html{
    font-size: 75px !important;
  }
}

/* body 样式 */
body {
  min-width: 320px;
  width: 10rem;
  margin: 0 auto;
  line-height: 1.5;
  font-family: Arial, Helvetica, STHeiTi, sans-serif;
  background: #F2F2F2;
}
ul,ol{
  margin: 0;
  li{
    list-style: none;
  }
}
a{
  text-decoration: none;
}
.top-banner {
  position: relative;
  width: 10rem;
  height: 1.333333rem;
  .top-banner-img{
    width: 10rem;
    height: 1.333333rem;
    img{
      width: 100%;
    }
  }
  .close{
    position: absolute;
    top: 0.466667rem;
    left: 0.24rem;
    width: 0.4rem;
    height: 0.4rem;
    background: url(../images/close.png) no-repeat;
    background-size: 0.4rem auto;
  }
}

// header
.header{
  width: 10rem;
  height: 2.4rem;
  background-color: #FFDB47;
  .header-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 9.093333rem;
    height: 1.173333rem;
    margin: 0 auto;
    .type{
      width: 0.48rem;
      height: 0.8rem;
      img{
        width: 0.48rem;
        height: 0.8rem;
      }
    }
    .ad{
      width: 6rem;
      height: 0.733333rem;
      img{
        width: 6rem;
        height: 0.733333rem;
      }
    }
    .login{
      width: 0.48rem;
      height: 0.8rem;
      img{
        width: 0.48rem;
        height: 0.8rem;
      }
    }
  }
  .search{
    position: relative;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    width: 9.36rem;
    height: 1.173333rem;
    margin: 0 auto;
    a{
      position: absolute;
      width: 9.36rem;
      height: 1.173333rem;
    }
    i{
      position: absolute;
      top: 0.346667rem;
      left: 0.193333rem;
      width: 0.48rem;
      height: 0.48rem;
      background: url(../images/search_btn.png) no-repeat;
      background-size: 0.48rem;
    }
    form{
      input{
        width: 9.36rem;
        height: 0.853333rem;
        border-radius: 0.426667rem;
        padding: 0.04rem 0.266667rem 0 0.866667rem;
        box-sizing: border-box;
        border: 0;
        font-size: 0.32rem
      }
    }
  }
}

//banner
.banner{
  width: 10rem;
  height: 3.466667rem;
  background: url(../images/banner_bg.png) no-repeat;
  background-size: 10rem auto;
  .wrapper{
    position: relative;
    width: 9.36rem;
    height: 3.466667rem;
    margin: 0 auto;
    border-radius: 0.266667rem;
    overflow: hidden;
    ul{
      position: relative;
      width: 2000px;
      height: 3.466667rem;
      li{
        position: absolute;
        top: 0;
        left: 9.36rem;
        a{
          width: 9.36rem;
          height: 3.466667rem;
          img{
            width: 9.36rem;
            height: 3.466667rem;
          }
        }
        &.current{
          left: 0;
        }
      }
    }
    ol{
      position: absolute;
      top: 3.2rem;
      left: 3.293333rem;
      width: 2.773333rem;
      height: 0.106667rem;
      li{
        display: block;
        float: left;
        width: 0.106667rem;
        height: 0.106667rem;
        margin: 0 0.066667rem;
        background: rgba(0, 0, 0, 0.4);
        border-radius: 0.053333rem;
        &.current{
          width: 0.24rem;
          background-color: #fff;
        }
      }
    }
  }
}

//view
.view{
  width: 10rem;
  height: 3.426667rem;
  font-size: 0;
  margin-top: 0.32rem;
  a{
    width: 3.333333rem;
    height: 3.426667rem;
    img{
      width: 3.333333rem;
      height: 3.426667rem;
    }
  }
}

//nav
.nav{
  width: 10rem;
  display: flex;
  flex-wrap: wrap;
  a{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 1.893333rem;
    img{
      width: 1.12rem;
    }
    span{
      margin-top: 0.066667rem;
      font-size: 0.293333rem;
      color: #000;
    }
  }
}

//new
.new{
  width: 10rem;
  display: flex;
  justify-content: space-around;
  height: 3.12rem;
  margin-bottom: 0.266667rem;
  a{
    width: 2.453333rem;
    height: 3.12rem;
    &:nth-child(1){
      width: 4.96rem;
      img{
        width: 4.96rem;
        height: 3.12rem;
      }
    }
    img{
      width: 2.453333rem;
      height: 3.12rem;
    }
  }
}

.list-goods{
  width: 9.466667rem;
  margin: 0 0.266667rem;
  .tit-img{
    width: 100%;
    img{
      width: 100%;
    }
  }
  ul{
    width: 9.466667rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0;
    li{
      width: 4.56rem;
      height: 7.226667rem;
      border-radius: 0.133333rem;
      overflow: hidden;
      background-color: #fff;
      margin-bottom: 0.266667rem;
      a{
        display: block;
        width: 4.56rem;
        height: 7.226667rem;
        img{
          width: 4.56rem;
          height: 4.56rem;
        }
        p{
          white-space: wrap;
          overflow: hidden;
          text-overflow: ellipsis;
          display: block;
          width: 4.24rem;
          height: 0.893333rem;
          font-size: 0.173333rem;
          color: #000;
          font-weight: bold;
          margin: 0 0.16rem;
        }
        .biaoqian{
          font-size: 0;
          margin-top: 0.133333rem;
          margin-left: 0.133333rem;
          span{
            display: inline-block;
            padding: 0 0.066667rem;
            font-size: 0.32rem;
            height: 0.32rem;
            line-height: 0.32rem;
            background: #FEFBEE;
            border: 0.026667rem solid #ffbb00;
            color: #000;
            border-radius: 0.053333rem;
            margin: 0 0.066667rem;
          }
        }
        .price{
          font-size: 0.48rem;
          color: red;
          font-weight: bold;
          margin-left: 0.133333rem;
        }
        .eva{
          font-size: 0.32rem;
          color: #999;
          margin-left: 0.266667rem;
        }
      }
    }
  }
}

.kongbai{
  width: 10rem;
  height: 2rem;
}
//footer
.footer{
  position: fixed;
  display: flex;
  margin: auto 0;
  bottom: 0; 
  width: 10rem;
  height: 1.36rem;
  background-color: #fff;
  a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 1.333333rem;
    i{
      width: 0.64rem;
      height: 0.64rem;
      background: url(../images/btn-01.png) no-repeat;
      background-size: 0.64rem 0.64rem;
    }
    &:nth-child(2) i{
      background: url(../images/btn-02.png) no-repeat;
      background-size: 0.64rem 0.64rem;
    }
    &:nth-child(3) i{
      background: url(../images/btn-03.png) no-repeat;
      background-size: 0.64rem 0.64rem;
    }
    &:nth-child(4) i{
      background: url(../images/btn-04.png) no-repeat;
      background-size: 0.64rem 0.64rem;
    }
    &:nth-child(5) i{
      background: url(../images/btn-05.png) no-repeat;
      background-size: 0.64rem 0.64rem;
    }
    span{
      font-size: 0.266667rem;
      color: #666;
    }
  }
  .current{
    font-weight: bold;
    span{
      color: #000;
    }
  }
}